package indi.zhifa.study2024.nbr.busycore.logic.report.consign.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.core.enummemo.entity.ann.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc
public enum EOrderByMode {

    PROFIT(1,"利润","按照利润排序","total_profit"),
    AMOUNT(2,"总金额","按总金额排序","total_amount"),
    CNT(3,"总数量","按总数量排序","total_cnt");

    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String desc;
    @Getter
    private final String col;
}
